from django.contrib import admin

from .models import Network, Station, Personnel


@admin.register(Network)
class NetworkAdmin(admin.ModelAdmin):
    list_display = ('code', 'name', 'remark')


@admin.register(Station)
class StationAdmin(admin.ModelAdmin):
    list_display = ('code', 'name', 'network', 'longitude', 'latitude', 'altitude', 'remark')


@admin.register(Personnel)
class PersonnelAdmin(admin.ModelAdmin):
    list_display = ('name', 'belong',)
